package com.vehicle.mapper;

import com.vehicle.bean.Area;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-04-21
 */
@Component
public interface AreaMapper extends BaseMapper<Area> {
    List<String> getAllAreaName();

    List<String> getLocationListByName(String name);

    List<Integer> getCategoryIdByNameAndLocation(String name,String location);

    Integer getAreaId(String name,String location,Integer category_id);
}
